package com.qen.fx.custom;

import com.qen.App;
import com.qen.fx.ViewIndex;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.layout.VBox;

import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;

public class CustomMenu extends VBox implements Initializable {

    public CustomMenu() {
        FXMLLoader fxmlLoader = new FXMLLoader(App.class.getResource(ViewIndex.CustomMenu));
        fxmlLoader.setRoot(this);
        fxmlLoader.setController(this);
        try {
            fxmlLoader.load();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    @FXML
    public void goIndex() {
    }

    @FXML
    public void goQuit() {
    }

    @FXML
    public void onCut() {
    }

    @FXML
    public void onCopy() {
    }

    @FXML
    public void onPaste() {
    }

    @FXML
    public void onDelete() {
    }

    @FXML
    public void selectAll() {
    }

    @FXML
    public void noSelectAll() {
    }

    @Override
    public void initialize(URL url, ResourceBundle resourceBundle) {

    }
}
